//
//  FTInternationalization_Macro.h
//  FTInternationalization_Macro
//
//  Created by JackieYip on 2017/6/2.
//  Copyright © 2017年 mondial-d. All rights reserved.
//

#ifndef FTInternationalization_Macro_h
#define FTInternationalization_Macro_h
// Mediator
#import "FTMediator.h"
// Component_FTBundle
#import "FTMediator+FTBundle.h"

#define FTLocalizedStringInLocalizable(title)               NSLocalizedStringFromTableInBundle(title, @"Localizable",[kFTMediator FTBundle_bundle], nil)
#define kFTErrorMessage(message, errorCode)                 ([NSString stringWithFormat:@"%@(code:%ld)", message, (long)errorCode])
#define kFTLocalizedErrorMessage(message, errorCode)        ([NSString stringWithFormat:@"%@(code:%ld)", FTLocalizedStringInLocalizable(message), (long)errorCode])

#endif /* FTInternationalization_Macro_h */
